/**
 * 地址相关接口
 **/
import options from './request.js';

export const addressList = (data = {}) => { 
	return options.reqJson("GET", '/address/list', data)
}

export const addressDelete = (ids = '') => { 
	return options.reqJson("DELETE", `/address/${ids}`, {})
}

export const addressDetails = (id = '') => { 
	return options.reqJson("GET", `/address/${id}`, {})
}

export const addressEdit = (data = {}) => { 
	return options.reqJson("PUT", '/address', data)
}
export const addressAdd = (data = {}) => { 
	return options.reqJson("POST", '/address', data)
}
